module MyModule

using Lib
using BigLib: thing1, thing2

import Base.show
importall OtherLib

# 导出以供外部使用
export MyType, foo

# 定义的类型
struct MyType
    x
end

# 定义的函数
bar(x) = 2x
# 定义的函数
foo(a::MyType) = bar(a.x) + 1
# 
show(io::IO, a::MyType) = print(io, "MyType $(a.x)")

end
